package me.zhengjie.modules.gu_excel.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * excel 存放数据表
 * @TableName data_excel_info
 */
@TableName(value ="data_excel_info")
@Data
public class DataExcelInfo implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * excel_id 标志当前数据来自于哪个excel
     */
    @TableField(value = "excel_id")
    private Integer excelId;

    /**
     * 当前数据所在行
     */
    @TableField(value = "row_value")
    private Integer rowValue;

    /**
     * 当前数据所在列
     */
    @TableField(value = "col_value")
    private Integer colValue;

    /**
     * 单元格的值
     */
    @TableField(value = "cell_value")
    private String cellValue;

    /**
     * 创建时间
     */
    @TableField(value = "createtime")
    private Date createtime;

    /**
     * 更新时间
     */
    @TableField(value = "updatetime")
    private Date updatetime;

    /**
     * 单元格的类型
     */
    @TableField(value = "cell_type")
    private String cellType;

    private static final long serialVersionUID = 1L;
}
